import Layout from '@/layout'

const enterpriseRouter = {
  path: '/enterprise',
  component: Layout,
  redirect: '/enterprise/item',
  meta: {
    title: '企业',
    icon: 'enterprise',
    roles: ['0', '4']
  },
  children: [{
    path: 'item',
    component: () =>
                import ('@/views/enterprise/enterprise-item'),
    name: 'EnterpriseItem',
    meta: { title: '企业条目', activeMenu: '/enterprise', roles: ['0', '4'] },
    hidden: true
  },
  {
    path: 'image',
    component: () =>
                import ('@/views/enterprise/enterprise-image'),
    name: 'EnterpriseImage',
    meta: { title: '企业图片', activeMenu: '/enterprise', roles: ['0', '4'] },
    hidden: true
  }
  ]
}
export default enterpriseRouter
